package com.ebupt.migu.music.approve.service;

import com.ebupt.migu.music.approve.entity.ReceiveMsgEvt;
import com.ebupt.migu.music.approve.entity.ReceiveMsgRt;
import com.ebupt.migu.music.common.entity.ResultObject;
import com.ebupt.migu.music.market.entity.ReceiveMsgResp;

import java.util.Map;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/10/9
 */
public interface ApproveService {

    /**
     * 分页、条件查询审批列表
     *
     * @param params
     * @return
     */
    ResultObject queryApproveList(Map<String, Object> params);

    /**
     * 提交审核
     *
     * @param params
     * @return
     */
    ResultObject submit(Map<String, Object> params);


    /**
     * 短信策略审核
     *
     * @param receiveMsgEvt
     * @return
     */
    ReceiveMsgRt receiveMsg(ReceiveMsgEvt receiveMsgEvt);


    /**
     * 通过策略ID查询审批记录
     *
     * @param params
     * @return
     */
    ResultObject queryApproveByStrategyId(Map<String, Object> params);

    ResultObject queryApproveDetail(Map<String, Object> params);
}
